//User.java
package com.atyouqidian.mybatis.pojo;

/**
 * @ProjectName: mybatis-demo
 * @ClassName: User
 * @Description: 类描述
 * @Author: www.atyouqidian.com
 * @UpdateDate: 2021-08-29 2:24
 * @UpdateRemark: 更新
 * @Version: 1.0
 */
public class User {

    private Integer id;
    private String name;
    private String addr;

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", addr='" + addr + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public User(Integer id, String name, String addr) {
        this.id = id;
        this.name = name;
        this.addr = addr;
    }

    public User() {
    }
}
